home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games: Greatest Hits 1996
/
Amiga Games: Greatest Hits 1996.iso
/
archive
/
userbox
/
publicdomain
/
correctname.lha
/
CorrectName
/
CorrectName.doc
< prev
next >
Wrap
Text File
|
1996-05-01
|
1KB
|
28 lines
/
CorrectName / by Thomas Igracki
______________/
This small program gets the right "spelling" of a file (or directory).
For example, if you had a file called "ThisIsMyFile" in the current
directory and want to copy it (or whatever) to a different device by doing
this: >copy thisismyfile ram:<.
Then normaly a file called "thisismyfile" will be created in "ram:".
But if you use: >copy `correctname thisismyfile` ram:<, then a file called
"ThisIsMyFile" will be created in "ram:" (if it was created so on the
source device). See what I mean?
Usage: CorrectName FileName/A,FP=FilePart/S,Err=ShowErrors/S
"FileName" must be used and specifies the filename.
"FP=FilePart" is optional. If used, only the filename w/o path
is printed else filename with full path will be printed!
"Err=ShowErrors" is optional. If set on startup error-msgs will
be printed, else the old (the given) filename will be returned!